package cn.itzd.mapper;


import cn.itzd.entity.LoginUser;
import cn.itzd.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Author: dada
 * @Version: 1.0
 * @Description: 
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    LoginUser queryUserByUserName(String username);

    List<String> getPower(Long id);

    List<SysUser> userList(SysUser sysUser);

    LoginUser queryUserById(Long userId);
}